FROM rick.jxnews.com.cn/tt/pm2:14.21.3-alpine


RUN npm config set registry https://registry.npmmirror.com \
    npm i -g n \
    n 20.18.0 \
    npm uninstall -g n

EXPOSE 3000

CMD [ "pm2-runtime", "start", "pm2.json" ]